package com.ruoyi.project.ledger.domain;

import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 消防设施对象 ledger_firefighting_facilities
 * 
 * @author ruoyi
 * @date 2020-05-11
 */
public class LedgerFirefightingFacilities extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "序列号", cellType = Excel.ColumnType.NUMERIC,type = Excel.Type.EXPORT)
    private Long id;

    /** 场站id */
//    @Excel(name = "场站id")
    private Long stationId;

    private String stationName;

    /** 位置 */
    @Excel(name = "位置",width = 30)
    private String position;

    /** 类型(0-消防栓  1-地下消火栓) */
    @Excel(name = "类型",width = 30,readConverterExp = "0=消防栓,1=地下消火栓")
    private String type;

    /** 数量 */
    @Excel(name = "数量")
    private Integer number;

    /** 删除标志位 */
    private String delFlag;

    /** 创建人 */
    private String createId;

    /** 更新人 */
    private String updateId;

    private String[] imgs;

    private List<Map<String, Object>> imgList;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    private SysDept sysDept;

    public LedgerFirefightingFacilities() {
    }

    public LedgerFirefightingFacilities(Long id,String position, String type, Integer number, String remark) {
        this.id = id;
        this.position = position;
        this.type = type;
        this.number = number;
        this.remark = remark;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setNumber(Integer number) 
    {
        this.number = number;
    }

    public Integer getNumber() 
    {
        return number;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreateId(String createId) 
    {
        this.createId = createId;
    }

    public String getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(String updateId) 
    {
        this.updateId = updateId;
    }

    public String getUpdateId() 
    {
        return updateId;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String[] getImgs() {
        return imgs;
    }

    public void setImgs(String[] imgs) {
        this.imgs = imgs;
    }

    public List<Map<String, Object>> getImgList() {
        return imgList;
    }

    public void setImgList(List<Map<String, Object>> imgList) {
        this.imgList = imgList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationId", getStationId())
            .append("position", getPosition())
            .append("type", getType())
            .append("number", getNumber())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .append("remark", getRemark())
            .toString();
    }
}
